﻿@model Guid

<option value="">Tất cả</option>
@{
    
    List<WebCore.Models.DataEntities.Role> roles = WebCore.Models.DataManagers.AccountManager.GetRoles();

    foreach (WebCore.Models.DataEntities.Role item in roles)
    {
        if (item.RoleId == Model)
        {
            <option value="@item.RoleId" selected>@item.RoleName</option>
        }
        else
        {
            <option value="@item.RoleId">@item.RoleName</option>
        }
    }
}
